package com.wuyou.domain.usermanage;

import java.math.BigDecimal;
import java.util.Date;

public class User
{
    private long id;
    // 名字
    private String name;
    // 电话
    private int phone;
    // 身份证号
    private String identificationNumber;
    // 头像
    private String headPortrait;
    // 账号状态
    private String accountStatus;
    // 冻结时间
    private Date freezeTime;
    // 是否是认证用户
    private boolean isAuthenticateUser;
    // 密码
    private String password;
    // 性别
    private boolean sex;
    // 籍贯
    private String nativeAddress;
    // 现居地
    private String presentResidence;
    // 账户余额
    private BigDecimal accountBalance;

    public User(long id, String name, int phone, String identificationNumber, String headPortrait, String accountStatus, Date freezeTime, boolean isAuthenticateUser, String password, boolean sex, String nativeAddress, String presentResidence, BigDecimal accountBalance)
    {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.identificationNumber = identificationNumber;
        this.headPortrait = headPortrait;
        this.accountStatus = accountStatus;
        this.freezeTime = freezeTime;
        this.isAuthenticateUser = isAuthenticateUser;
        this.password = password;
        this.sex = sex;
        this.nativeAddress = nativeAddress;
        this.presentResidence = presentResidence;
        this.accountBalance = accountBalance;
    }

    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public int getPhone()
    {
        return phone;
    }

    public void setPhone(int phone)
    {
        this.phone = phone;
    }

    public String getIdentificationNumber()
    {
        return identificationNumber;
    }

    public void setIdentificationNumber(String identificationNumber)
    {
        this.identificationNumber = identificationNumber;
    }

    public String getHeadPortrait()
    {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait)
    {
        this.headPortrait = headPortrait;
    }

    public String getAccountStatus()
    {
        return accountStatus;
    }

    public void setAccountStatus(String accountStatus)
    {
        this.accountStatus = accountStatus;
    }

    public Date getFreezeTime()
    {
        return freezeTime;
    }

    public void setFreezeTime(Date freezeTime)
    {
        this.freezeTime = freezeTime;
    }

    public boolean isAuthenticateUser()
    {
        return isAuthenticateUser;
    }

    public void setAuthenticateUser(boolean authenticateUser)
    {
        isAuthenticateUser = authenticateUser;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public boolean isSex()
    {
        return sex;
    }

    public void setSex(boolean sex)
    {
        this.sex = sex;
    }

    public String getNativeAddress()
    {
        return nativeAddress;
    }

    public void setNativeAddress(String nativeAddress)
    {
        this.nativeAddress = nativeAddress;
    }

    public String getPresentResidence()
    {
        return presentResidence;
    }

    public void setPresentResidence(String presentResidence)
    {
        this.presentResidence = presentResidence;
    }

    public BigDecimal getAccountBalance()
    {
        return accountBalance;
    }

    public void setAccountBalance(BigDecimal accountBalance)
    {
        this.accountBalance = accountBalance;
    }
}